package com.hina.rec.application.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hina.rec.endpoint.req.SettlePaymentSaveReq;
import com.hina.rec.endpoint.req.SettlePaymentSearchReq;
import com.hina.rec.endpoint.req.SettlePaymentUpdateReq;
import com.hina.rec.endpoint.res.SettlePaymentRes;

/**
 * 结算单回款服务接口
 *
 * @author dequal
 * @since 2025-05-23
 */
public interface SettlePaymentService {
    
    /**
     * 分页查询结算单回款
     *
     * @param req 查询请求
     * @return 分页结果
     */
    Page<SettlePaymentRes> page(SettlePaymentSearchReq req);

    /**
     * 创建结算单回款
     *
     * @param req 创建请求
     */
    void save(SettlePaymentSaveReq req);

    /**
     * 更新结算单回款
     *
     * @param req 更新请求
     */
    void update(SettlePaymentUpdateReq req);

    /**
     * 删除结算单回款
     *
     * @param id 主键ID
     */
    void delete(Integer id);
} 